package Date1204;


import java.util.Arrays;
import java.util.Scanner;

public class Demo2{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n;
        n = sc.nextInt();
        int[] arr = new int[n];
        for(int i = 0;i < n;i++)
            arr[i] = sc.nextInt();
        Arrays.sort(arr);
        for(int j = 0;j < n;j++)
            System.out.print(arr[j]+" ");
    }
}
